import React, { Component } from 'react'
import Navbar from './components/Navbar'
import Sidebar from './components/Sidebar'

export default class App extends Component {
  render() {
    var obj = {
      background:'red',
      fontSize:"20px",
      textAlign: "left"
    }
    return (
      <div>
          <div>
              <Navbar title="首页" leftshow={false}></Navbar>
          </div>
          <div>
              <Navbar title="个人中心"></Navbar>
          </div>
          <div>
              <Navbar title="促销" rightshow={false}></Navbar>
          </div>
          <div>
              <Sidebar {...obj}></Sidebar>
          </div>
      </div>
    )
  }
}
